package cn.xiaopengstack.infrastructure.persistent.dao;

import cn.xiaopengstack.infrastructure.persistent.po.ScSkuActivityRef;
import org.apache.ibatis.annotations.Mapper;

/**
* @author jiangyangang
* @description 针对表【sc_sku_activity_ref】的数据库操作Mapper
* @createDate 2025-10-15 16:28:32
* @Entity cn.xiaopengstack.infrastructure.persistent.po.ScSkuActivityRef
*/
@Mapper
public interface ScSkuActivityRefDao {

    int deleteByPrimaryKey(Long id);

    int insert(ScSkuActivityRef record);

    int insertSelective(ScSkuActivityRef record);

    ScSkuActivityRef selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ScSkuActivityRef record);

    int updateByPrimaryKey(ScSkuActivityRef record);

    /**
     * 查询渠道商品关联活动
     * @param scSkuActivityRefQuery
     * @return
     */
    ScSkuActivityRef querySourceChannelActivityRef(ScSkuActivityRef scSkuActivityRefQuery);
}
